package tr.com.netgis.web;

import java.util.Date;

import org.ksoap2.serialization.PropertyInfo;

import tr.com.netgis.util.Status;

public interface ISetLocationRequest {

	public abstract ISetLocationRequestHandler getHandler();

	public abstract double getLastLocationX();

	public abstract double getLastLocationY();

	public abstract Date getTarihSaat();

	public abstract String getServerUrl();

	public abstract String getSessionId();

	/**
	 * Cihazın device id'si olmalı
	 * @return
	 */
	public abstract String getDeviceCode();

	public abstract Status getStatus();

	public abstract String getSpeed();
	
	public boolean isTest();

	public static final int P_DEVICE_CODE = 0;
	public static final int P_LAT = 1;
	public static final int P_LON = 2;
	public static final int P_TARIH_SAAT = 3;
	public static final int P_SPEED = 4;
	public static final int P_STATUS = 5;
	public static final int P_NAMEVALUES = 6;
	public static final int P_SESSION_ID = 7;
	public static final int P_MESSAGE_TYPE = 8;
	public static final int P_MESSAGE_BODY = 9;
	public abstract PropertyInfo getPropertyInfo(int index);

}